﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;


namespace SCS.Core.Models.Collection
{
    public class ArticleStaticCollection
    {
        [DisplayName("StaticName")]
        [StringLength(100)]
        public string StaticName { get; set; }

        [Required(ErrorMessage = "Nhập nội dung trang tĩnh.")]
        [DisplayName("StaticContent")]
        public string StaticContent { get; set; }

        [DisplayName("StaticIntroText")]
        [StringLength(4000)]
        public string StaticIntroText { get; set; }

        [DisplayName("Alias")]
        [StringLength(250)]
        public string Alias { get; set; }

        [DisplayName("Url")]
        [StringLength(250)]
        public string Url { get; set; }

        [DisplayName("Images")]
        [StringLength(250)]
        public string Images { get; set; }

        [DisplayName("CreatedBy")]
        public int CreatedBy { get; set; }

        [DisplayName("SiteGuid")]
        public int? SiteGuid { get; set; }

        [DisplayName("LanguagesID")]
        public int? LanguagesID { get; set; }

        [DisplayName("Active")]
        public bool Active { get; set; }

        [DisplayName("ControlID")]
        public int? ControlID { get; set; }

        [DisplayName("StaticID")]
        public int? StaticID { get; set; }

        [Required(ErrorMessage = "Chọn danh mục trang tĩnh.")]
        [DisplayName("ArrayArticleStaticCategoryID")]
        public string ArrayArticleStaticCategoryID { get; set; }

    }
}
